<?xml version="1.0" encoding="utf-8"?>
<ParsingRules xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.etp.com">
  <Rules>
    <ParseRule>
      <Name>Rating</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;span.+?itemprop="ratingValue"&gt;([\d.]+)&lt;/span&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Title</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText>(IMDb - )</ReplaceText>
      <ReplaceWithText />
      <Pattern>&lt;title&gt;(.+?) \(.*?(\d{4}).*?\)</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Year</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;title&gt;(.+?) \(.*?(\d{4}).*?\)</Pattern>
      <Replacement>$2</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Runtime</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>true</IsRemoveWhitespace>
      <IsTrim>true</IsTrim>
      <Options>Singleline</Options>
      <ReplaceText>(»|&lt;a.*?&gt;|&lt;/a&gt;|&lt;time.*?&gt;|&lt;/time&gt;|&lt;span class="see-more inline"&gt;.+?&lt;/span&gt;|&lt;span.*?&gt;|&lt;/span&gt;)</ReplaceText>
      <ReplaceWithText />
      <Pattern>Runtime:&lt;/h4&gt;\s+(.+?)&lt;/div&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>ReleaseDate</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>Singleline</Options>
      <ReplaceText>(»|&lt;a.*?&gt;|&lt;/a&gt;|&lt;time.*?&gt;|&lt;/time&gt;|&lt;span class="see-more inline"&gt;.+?&lt;/span&gt;|&lt;span.*?&gt;|&lt;/span&gt;)</ReplaceText>
      <ReplaceWithText />
      <Pattern>Release Date:&lt;/h4&gt;\s+(.+?)&lt;/div&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules>
        <ParseRule>
          <IsArray>false</IsArray>
          <IsJoined>false</IsJoined>
          <IsRemoveWhitespace>false</IsRemoveWhitespace>
          <IsTrim>false</IsTrim>
          <Options>None</Options>
          <ReplaceText />
          <ReplaceWithText />
          <Pattern>(\d+\s+\w+\s+\d+)\s.+</Pattern>
          <Replacement>$1</Replacement>
        </ParseRule>
      </CleanRules>
    </ParseRule>
    <ParseRule>
      <Name>Mpaa</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>Singleline</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;div class="infobar"&gt;\s*&lt;span.+?itemprop="contentRating" content="(.+?)".*?&gt;.*?&lt;/span&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>MpaaReason</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText>(&lt;span.*?&gt;|&lt;/span&gt;)</ReplaceText>
      <ReplaceWithText />
      <Pattern>span itemprop="contentRating"&gt;(.+?)&lt;/span&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Genres</Name>
      <IsArray>true</IsArray>
      <Separator>,</Separator>
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>true</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;a href="/genre/(.+?)\?ref_=tt_stry_gnr"\s*&gt; (.+?)&lt;/a&gt;</Pattern>
      <Replacement>$1,$2</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Languages</Name>
      <IsArray>true</IsArray>
      <Separator>,</Separator>
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>Singleline</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>href="/language/(.+?)\?.+?&gt;(.+?)&lt;/a&gt;</Pattern>
      <Replacement>$1,$2</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Countries</Name>
      <IsArray>true</IsArray>
      <Separator>,</Separator>
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>Singleline</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>href="/country/(.+?)\?.*?&gt;(.+?)&lt;/a&gt;</Pattern>
      <Replacement>$1,$2</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Stars</Name>
      <IsArray>true</IsArray>
      <Separator>,</Separator>
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;a href="/name/(nm\d+)/.+?\s.+?&gt;&lt;span.+?&gt;(.+?)&lt;/span&gt;&lt;/a&gt;</Pattern>
      <Replacement>$1,$2</Replacement>
      <ParentRule>
        <IsArray>false</IsArray>
        <IsJoined>false</IsJoined>
        <IsRemoveWhitespace>false</IsRemoveWhitespace>
        <IsTrim>false</IsTrim>
        <Options>Singleline</Options>
        <ReplaceText />
        <ReplaceWithText />
        <Pattern>Stars?:\s*&lt;/h4&gt;\s*(.+?)&lt;/div&gt;</Pattern>
        <Replacement>$1</Replacement>
      </ParentRule>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Writers</Name>
      <IsArray>true</IsArray>
      <Separator>,</Separator>
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;a href="/name/(nm\d+)/.+?\s.+?&gt;&lt;span.+?&gt;(.+?)&lt;/span&gt;&lt;/a&gt;</Pattern>
      <Replacement>$1,$2</Replacement>
      <ParentRule>
        <IsArray>false</IsArray>
        <IsJoined>false</IsJoined>
        <IsRemoveWhitespace>false</IsRemoveWhitespace>
        <IsTrim>false</IsTrim>
        <Options>Singleline</Options>
        <ReplaceText />
        <ReplaceWithText />
        <Pattern>Writers?:\s*&lt;/h4&gt;\s*(.+?)&lt;/div&gt;</Pattern>
        <Replacement>$1</Replacement>
      </ParentRule>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Directors</Name>
      <IsArray>true</IsArray>
      <Separator>,</Separator>
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;a href="/name/(nm\d+)/.+?\s.+?&gt;&lt;span.+?&gt;(.+?)&lt;/span&gt;&lt;/a&gt;</Pattern>
      <Replacement>$1,$2</Replacement>
      <ParentRule>
        <IsArray>false</IsArray>
        <IsJoined>false</IsJoined>
        <IsRemoveWhitespace>false</IsRemoveWhitespace>
        <IsTrim>false</IsTrim>
        <Options>Singleline</Options>
        <ReplaceText />
        <ReplaceWithText />
        <Pattern>Directors?:\s*&lt;/h4&gt;\s*(.+?)&lt;/div&gt;</Pattern>
        <Replacement>$1</Replacement>
      </ParentRule>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Highlight</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>true</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>Singleline</Options>
      <ReplaceText>(»|&lt;em.*?&gt;|&lt;/em&gt;|&lt;a.*?&gt;|&lt;/a&gt;|&lt;b.*?&gt;|&lt;/b&gt;|&lt;div.*?&gt;|&lt;/div&gt;|&lt;strong&gt;|&lt;/strong&gt;|&lt;span class="see-more inline"&gt;.+?&lt;/span&gt;|&lt;span.*?&gt;|&lt;/span&gt;)</ReplaceText>
      <ReplaceWithText />
      <Pattern>&lt;span itemprop="awards"&gt;(.+?)&lt;/span&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Storyline</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>true</IsRemoveWhitespace>
      <IsTrim>true</IsTrim>
      <Options>Singleline</Options>
      <ReplaceText>(»|&lt;em.*?&gt;|&lt;/em&gt;|&lt;a.*?&gt;|&lt;/a&gt;|&lt;b.*?&gt;|&lt;/b&gt;|&lt;div.*?&gt;|&lt;/div&gt;|&lt;strong&gt;|&lt;/strong&gt;|&lt;span.*?&gt;|&lt;/span&gt;)</ReplaceText>
      <ReplaceWithText />
      <Pattern>&lt;h2&gt;Storyline&lt;/h2&gt;\s*&lt;div.*?&gt;\s*&lt;p&gt;(.+?)&lt;/p&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules>
        <ParseRule>
          <IsArray>false</IsArray>
          <IsJoined>false</IsJoined>
          <IsRemoveWhitespace>false</IsRemoveWhitespace>
          <IsTrim>false</IsTrim>
          <Options>Singleline</Options>
          <ReplaceText>Written by.+</ReplaceText>
          <ReplaceWithText />
          <Pattern />
          <Replacement />
        </ParseRule>
      </CleanRules>
    </ParseRule>
    <ParseRule>
      <Name>Characters</Name>
      <IsArray>true</IsArray>
      <Separator>,</Separator>
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText>(»|&lt;em.*?&gt;|&lt;/em&gt;|&lt;a.*?&gt;|&lt;/a&gt;|&lt;b.*?&gt;|&lt;/b&gt;|&lt;div.*?&gt;|&lt;/div&gt;|&lt;strong&gt;|&lt;/strong&gt;|&lt;span class="see-more inline"&gt;.+?&lt;/span&gt;|&lt;span.*?&gt;|&lt;/span&gt;)</ReplaceText>
      <ReplaceWithText />
      <Pattern>&lt;td class="itemprop" itemprop="actor" itemscope itemtype="http://schema\.org/Person"&gt;\s*&lt;a href="/name/(nm\d+)/.+?\s*.+?&lt;span class="itemprop" itemprop="name"&gt;(.+?)&lt;/span&gt;\s*&lt;/a&gt;\s*&lt;/td&gt;\s*&lt;td class="ellipsis"&gt;\s*(...)?\s*&lt;/td&gt;\s*&lt;td class="character"&gt;\s*&lt;div&gt;\s*((&lt;a href="/character/(.+?)/\?ref_=.+?" &gt;)?\s*(.+?)(&lt;/a&gt;)?\s*(\(.+?\)\s*)?)?&lt;/div&gt;</Pattern>
      <Replacement>$1,$2,$6,$7</Replacement>
      <ParentRule>
        <IsArray>false</IsArray>
        <IsJoined>false</IsJoined>
        <IsRemoveWhitespace>false</IsRemoveWhitespace>
        <IsTrim>false</IsTrim>
        <Options>Singleline</Options>
        <ReplaceText />
        <ReplaceWithText />
        <Pattern>&lt;table class="cast_list"&gt;(.+?)&lt;/table&gt;</Pattern>
        <Replacement>$1</Replacement>
      </ParentRule>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>ImdbId</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;meta property="og:url" content="http://www\.imdb\.com/title/(tt[0-9]+?)/</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Poster</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;td rowspan="2" id="img_primary"&gt;.+?&lt;img src="(http://.+?)"</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>MediaFrom</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>Media from&amp;nbsp;&lt;a href="/title/(tt[0-9]+)/</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Keywords</Name>
      <IsArray>true</IsArray>
      <Separator>,</Separator>
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;a href="/keyword/(.+?)\?.+?"\s+&gt;(.+?)&lt;/a&gt;</Pattern>
      <Replacement>$1,$2</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>Guess</Name>
      <IsArray>true</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>Media from&amp;nbsp;&lt;a href="/title/(tt[0-9]+)/".+?&gt;(.+?)&lt;/a&gt;(\s*\(([0-9]+?)\))?</Pattern>
      <Replacement>$1,$2,$4</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>PersonName</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText>(IMDb - |- IMDb)</ReplaceText>
      <ReplaceWithText />
      <Pattern>&lt;meta name="title" content="(.+?)" /&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>PersonId</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;meta property="og:url" content="http://www\.imdb\.com/name/(.+?)/" /&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>PersonBirthday</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;time datetime="(.+?)" itemprop="birthDate"&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>PersonDeathday</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;time  datetime="(.+?)" itemprop="deathDate"&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>PersonHeight</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>true</IsRemoveWhitespace>
      <IsTrim>true</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;h4 class="inline"&gt;Height:&lt;/h4&gt;\s*(.+)</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules>
        <ParseRule>
          <IsArray>false</IsArray>
          <IsJoined>false</IsJoined>
          <IsRemoveWhitespace>false</IsRemoveWhitespace>
          <IsTrim>false</IsTrim>
          <Options>None</Options>
          <ReplaceText>&amp;nbsp;</ReplaceText>
          <ReplaceWithText />
          <Pattern />
          <Replacement />
        </ParseRule>
        <ParseRule>
          <IsArray>false</IsArray>
          <IsJoined>false</IsJoined>
          <IsRemoveWhitespace>false</IsRemoveWhitespace>
          <IsTrim>false</IsTrim>
          <Options>None</Options>
          <ReplaceText>&lt;/div&gt;</ReplaceText>
          <ReplaceWithText />
          <Pattern />
          <Replacement />
        </ParseRule>
      </CleanRules>
    </ParseRule>
    <ParseRule>
      <Name>PersonBirthplace</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;a class="canwrap" href="/search/name\?birth_place=.+?"&gt;(.+?)&lt;/a&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>PersonProfession</Name>
      <IsArray>true</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>true</IsRemoveWhitespace>
      <IsTrim>true</IsTrim>
      <Options>Singleline</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;span class="itemprop" itemprop="jobTitle"&gt;(.+?)&lt;/span&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
    <ParseRule>
      <Name>GenreBlock</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>Singleline</Options>
      <ReplaceText />
      <ReplaceWithText />
      <Pattern>&lt;div class="see-more inline canwrap" itemprop="genre"&gt;(.*?)&lt;/div&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules>
        <ParseRule>
          <IsArray>false</IsArray>
          <IsJoined>false</IsJoined>
          <IsRemoveWhitespace>false</IsRemoveWhitespace>
          <IsTrim>false</IsTrim>
          <Options>None</Options>
          <ReplaceText />
          <ReplaceWithText />
          <Pattern>&lt;a href="/genre/(.+?)\?(.*)"\s*&gt;\s*(.+?)&lt;/a&gt;</Pattern>
          <Replacement />
        </ParseRule>
      </CleanRules>
    </ParseRule>
    <ParseRule>
      <Name>RatingCount</Name>
      <IsArray>false</IsArray>
      <Separator />
      <IsJoined>false</IsJoined>
      <IsRemoveWhitespace>false</IsRemoveWhitespace>
      <IsTrim>false</IsTrim>
      <Options>None</Options>
      <ReplaceText>,</ReplaceText>
      <ReplaceWithText />
      <Pattern>&lt;span itemprop="ratingCount"&gt;(.+?)&lt;/span&gt;</Pattern>
      <Replacement>$1</Replacement>
      <CleanRules />
    </ParseRule>
  </Rules>
</ParsingRules>